package com.hxtec.polarislogin.polarislogin.dao;

import com.hxtec.polarislogin.polarislogin.entity.ShopUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @Author Marcus lv
 * @create 2019/11/17 4:32 下午
 */
public interface UserDao extends JpaRepository<ShopUserEntity,String> {
    Optional<ShopUserEntity> findByMobile(String var1);

    Optional<ShopUserEntity> findByWxId(String var1);
}
